Skip to content

Add fixture to download virtctl before RDR tests#15144

Open
jilju wants to merge 2 commits into
red-hat-storage:masterfrom
jilju:fix_15143
Open

Add fixture to download virtctl before RDR tests#15144
jilju wants to merge 2 commits into
red-hat-storage:masterfrom
jilju:fix_15143

Conversation

@jilju
Copy link
Copy Markdown
Contributor

@jilju jilju commented May 13, 2026

Fixes #15143

@jilju jilju requested a review from a team as a code owner May 13, 2026 15:01
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 13, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jilju

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jilju jilju added DR Metro and Regional DR related PRs Squad/Turquoise and removed size/XS labels May 13, 2026
Signed-off-by: Jilju Joy <jijoy@redhat.com>
@jilju jilju added the Verified Mark when PR was verified and log provided label May 14, 2026
Signed-off-by: Jilju Joy <jijoy@redhat.com>
@jilju
Copy link
Copy Markdown
Contributor Author

jilju commented May 14, 2026

Verified: https://jenkins-csb-odf-qe-ocs4.dno.corp.redhat.com/job/qe-rdr-setup/4604

2026-05-14 21:46:23  12:16:23 - MainThread - ocs_ci.utility.utils - INFO - C[jijoy-bm2-m7] - Executing command: virtctl version -c
2026-05-14 21:46:23  12:16:23 - MainThread - ocs_ci.helpers.virtctl - INFO - C[jijoy-bm2-m7] - virtctl tool is not available, installing it
2026-05-14 21:46:23  12:16:23 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - Performing virtctl binary compatibility check...
2026-05-14 21:46:23  12:16:23 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - Getting the virtctl download URL for Linux x86_64
2026-05-14 21:46:23  12:16:23 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - Retrieving the specification links for the virtctl client
2026-05-14 21:46:23  12:16:23 - MainThread - ocs_ci.utility.utils - INFO - C[jijoy-bm2-m7] - Executing command: oc --kubeconfig /home/jenkins/clusters/jijoy-bm2-m7/openshift-cluster-dir/auth/kubeconfig -n openshift-cnv get ConsoleCLIDownload virtctl-clidownloads-kubevirt-hyperconverged -n openshift-cnv -o yaml
2026-05-14 21:46:24  12:16:23 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - successfully retrieved the specification links for the virtctl client
2026-05-14 21:46:24  12:16:23 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - The virtctl download URL for linux x86_64 is: https://hyperconverged-cluster-cli-download-openshift-cnv.apps.jijoy-bm2-m7.qe.rh-ocs.com/amd64/linux/virtctl.tar.gz
2026-05-14 21:46:24  12:16:23 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - Virtctl is compatible to run on this machine: Linux x86_64
2026-05-14 21:46:24  12:16:23 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - Downloading virtctl archive file
2026-05-14 21:46:24  12:16:23 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - Getting the virtctl download URL for Linux x86_64
2026-05-14 21:46:24  12:16:23 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - Retrieving the specification links for the virtctl client
2026-05-14 21:46:24  12:16:23 - MainThread - ocs_ci.utility.utils - INFO - C[jijoy-bm2-m7] - Executing command: oc --kubeconfig /home/jenkins/clusters/jijoy-bm2-m7/openshift-cluster-dir/auth/kubeconfig -n openshift-cnv get ConsoleCLIDownload virtctl-clidownloads-kubevirt-hyperconverged -n openshift-cnv -o yaml
2026-05-14 21:46:24  12:16:24 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - successfully retrieved the specification links for the virtctl client
2026-05-14 21:46:24  12:16:24 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - The virtctl download URL for linux x86_64 is: https://hyperconverged-cluster-cli-download-openshift-cnv.apps.jijoy-bm2-m7.qe.rh-ocs.com/amd64/linux/virtctl.tar.gz
2026-05-14 21:47:02  12:16:59 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - Successfully downloaded the virtctl file from url:https://hyperconverged-cluster-cli-download-openshift-cnv.apps.jijoy-bm2-m7.qe.rh-ocs.com/amd64/linux/virtctl.tar.gz
2026-05-14 21:47:02  12:16:59 - MainThread - ocs_ci.deployment.cnv - INFO - C[jijoy-bm2-m7] - virtctl binary extracted successfully to path:/home/jenkins/bin
2026-05-14 21:47:02  12:16:59 - MainThread - ocs_ci.utility.utils - INFO - C[jijoy-bm2-m7] - Executing command: virtctl version -c
2026-05-14 21:47:02  12:16:59 - MainThread - ocs_ci.helpers.virtctl - INFO - C[jijoy-bm2-m7] - virtctl tool is available: Client Version: version.Info{GitVersion:"v1.8.1-87-gdd92d50470", GitCommit:"dd92d50470bbd277aabd5feb16ba33f3e103e963", GitTreeState:"clean", BuildDate:"2026-04-23T08:42:08Z", GoVersion:"go1.25.8 (Red Hat 1.25.8-1.el9_6) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DR Metro and Regional DR related PRs size/XS Squad/Turquoise Verified Mark when PR was verified and log provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: FileNotFoundError: [Errno 2] No such file or directory: 'virtctl'

1 participant